package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ActSendtoDao;
import io.renren.entity.ActSendtoEntity;
import io.renren.service.ActSendtoService;



@Service("actSendtoService")
public class ActSendtoServiceImpl implements ActSendtoService {
	@Autowired
	private ActSendtoDao actSendtoDao;
	
	@Override
	public ActSendtoEntity queryObject(Integer id){
		return actSendtoDao.queryObject(id);
	}
	
	@Override
	public List<ActSendtoEntity> queryList(Map<String, Object> map){
		return actSendtoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return actSendtoDao.queryTotal(map);
	}
	
	@Override
	public void save(ActSendtoEntity actSendto){
		actSendtoDao.save(actSendto);
	}

	@Override
	public void update(ActSendtoEntity actSendto){
		actSendtoDao.update(actSendto);
	}
	
	@Override
	public void delete(Integer id){
		actSendtoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		actSendtoDao.deleteBatch(ids);
	}
	
}
